package com.example.chuntiao.cophook.beans;

/**
 * Created by chuntiao on 17-8-18.
 */

public class Choice {
    String uid;
    String oid;

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof ChoiceDataSupport)
            return uid.equals(((ChoiceDataSupport) obj).uid) && oid.equals(((ChoiceDataSupport) obj).oid);
        else if (obj instanceof Choice) {
            return uid.equals(((Choice) obj).uid) && oid.equals(((Choice) obj).oid);
        }
        return false;
    }
}
